<template>
  <div>
    <Chart :ranking="ranking" :number="number" />
  </div>
</template>

<script>
//用来获取数据的index
import Chart from './changeButtonRight.vue'
export default {
  data () {
    return {
    
      ranking: {
        rowNum: 9,
        data: [
          
          {
            name: '数据1',
            value: 55
          },
          {
            name: '数据2',
            value: 120
          },
          {
            name: '数据3',
            value: 78
          },
          {
            name: '数据4',
            value: 66
          },
          {
            name: '数据5',
            value: 80
          },
          {
            name: '数据6',
            value: 80
          },
          {
            name: '数据7',
            value: 80
          },
          {
            name: '数据8',
            value: 80
          },
          {
            name: '数据9',
            value: 80
          },
          {
            name: '数据10',
            value: 80
          }
        ],
        carousel: 'single',
        unit: 'ml'
      },
    }
  },
  components: {
    Chart,
  },

  methods: {
  }
};
</script>

<style lang="scss" scoped>
</style>